package uidemo.test;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class Demo1 {
	
	
	
	@RequestMapping(value = "/helloworld")
	public String demo1(Model model) {
		model.addAttribute("hello", "Application name");
		return "demo1";
	}
	
	public String mapDemo(Model model) {
		model.addAttribute("hello", "Application name");
		return "map-demo";
	}
	
}
